import { createApp } from "vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import App from "./App.vue";
import router from "../src/router/index";
import * as ElementPlusIconsVue from "@element-plus/icons-vue"; //全局引入图标
import { createPinia } from "pinia";
import "./assets/style.css";
const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
app
  .use(ElementPlus, { size: "default", zIndex: 3000 })
  .use(router)
  .use(createPinia())
  .mount("#app");
